package cn.wyu.validator;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by ajinlong on 2021/6/27.
 */
public class Address {

    @NotEmpty(message = "{address.province.not.empty}")
    private String province;

    @NotEmpty(message = "{address.city.not.empty}")
    private String city;

    @NotEmpty(message = "{address.street.not.empty}")
    private String street;

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }
}
